package cn.tsvtc.shop.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: Athena
 * @date: 2020/11/6 15:22
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Ordership implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    private String orderid;
    private String shipname;
    private String shipaddress;
    private String province;
    private String provinceCode;
    private String city;
    private String cityCode;
    private String area;
    private String areaCode;
    private String phone;
    private String tel;
    private String zip;
    private String sex;
    private String remark;


    public Ordership(String orderid) {
        this.orderid = orderid;
    }

    public void clear() {
        id = null;
        orderid = null;
        shipname = null;
        shipaddress = null;
        province = null;
        provinceCode = null;
        city = null;
        cityCode = null;
        area = null;
        areaCode = null;
        phone = null;
        tel = null;
        zip = null;
        sex = null;
        remark = null;
    }

}
